package com.booking.controller.model.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Qikai.Lin
 * @date 2023/5/17
 */
@Data
public class GroupingDetail {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 创建者id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long creatorId;
    /**
     * 拼团活动名称
     */
    private String name;
    /**
     * 拼团活动简介
     */
    private String description;
    /**
     * 拼团日期
     */
    private String groupingDate;

    /**
     * 拼团人数
     */
    private Integer followCount;
    /**
     * 成团需要人数
     */
    private Integer needCount;
    /**
     * 总价格
     */
    private BigDecimal prices;
    /**
     * 预订价格
     */
    private BigDecimal bookingPrices;
    /**
     * 拼团状态
     */
    private String groupingState;
}
